package com.epichust.bootuqc.service.impl;

import com.epichust.bootuqc.model.dao.Uqcm5DefOpChkTemplateDao;
import com.epichust.bootuqc.model.entity.Uqcm5DefOpChkTemplate;
import com.epichust.bootuqc.service.IUqcm5DefOpChkTemplateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * Description:
 *
 * @author:伦伦的电脑
 * @date: 2021/3/23 15:43
 */
@Service
@Transactional
public class Uqcm5DefOpChkTemplateServiceImpl implements IUqcm5DefOpChkTemplateService {
    @Autowired
    Uqcm5DefOpChkTemplateDao uqcm5defopchktemplatedao;
    @Override
    public List<Uqcm5DefOpChkTemplate> getAllUqcm5DefOpChkTemplate(Map<String, Object> map) {
        return uqcm5defopchktemplatedao.getAllUqcm5DefOpChkTemplate(map);
    }

    @Override
    public int insertUqcm5DefOpChkTemplate(Uqcm5DefOpChkTemplate uqcm5defopchktemplate) {
        return uqcm5defopchktemplatedao.insertUqcm5DefOpChkTemplate(uqcm5defopchktemplate);
    }
}
